package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车辆入库单
 * </p>
 *
 * @author caoYong
 * @since 2019-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sto_stock_in")
@ApiModel(value="StoStockIn对象", description="车辆入库单")
public class StoStockIn implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "STOCK_IN_ID", type = IdType.UUID)
    private String stockInId;

    @ApiModelProperty(value = "组织代码")
    @TableField("ORG_CODE")
    private String orgCode;

    @ApiModelProperty(value = "入库单号")
    @TableField("STOCK_IN_NO")
    private String stockInNo;

    @ApiModelProperty(value = "入库计划单号")
    @TableField("STOCK_IN_PLAN_NO")
    private String stockInPlanNo;

    @ApiModelProperty(value = "RFID号")
    @TableField("RFID_NO")
    private String rfidNo;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "版本")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "是否发送(1是0否)")
    @TableField("IS_SEND")
    private Integer isSend;

    @ApiModelProperty(value = "是否作废(1是0否)")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "入库日期")
    @TableField(value = "STOCK_IN_DATE")
    private Date stockInDate;

    @ApiModelProperty(value = "库房名称")
    @TableField(value = "STORAGE_NAME")
    private String storageName;

    @ApiModelProperty(value = "存放地址")
    @TableField(value = "STORAGE_LOCATION")
    private String storageLocation;

    @ApiModelProperty(value = "入库类型")
    @TableField(value = "STOCK_IN_TYPE")
    private String stockInType;

    @ApiModelProperty(value = "产品类型")
    @TableField(value = "PRODUCT_TYPE")
    private String productType;

    @ApiModelProperty(value = "颜色")
    @TableField(value = "COLOR_NAME")
    private String colorName;

    @ApiModelProperty(value = "车型公告")
    @TableField(value = "ANNOUCEMENT_NUMBER")
    private String annoucementNumber;

    @ApiModelProperty(value = "车辆VIN码")
    @TableField(value = "VIN")
    private String vin;

    @ApiModelProperty(value = "发电机号")
    @TableField(value = "MOTOR_CODE")
    private String motorCode;

    @ApiModelProperty(value = "物料编码")
    @TableField(value = "NODE_CODE")
    private String nodeCode;

    @ApiModelProperty(value = "车辆内编")
    @TableField(value = "VEHICLE_INNER_CODE")
    private String vehicleInnerCode;

    @ApiModelProperty(value = "其他事项说明")
    @TableField(value = "REMARK")
    private String remark;

    @ApiModelProperty(value = "打单员")
    @TableField(value = "BILL_PRINTER")
    private String billPrinter;

    @ApiModelProperty(value = "报交员")
    @TableField(value = "BILL_REPORTER")
    private String billReporter;

    @ApiModelProperty(value = "入库PDI检验员")
    @TableField(value = "PDI_INSEPECTER")
    private String pdiInsepecter;

}
